package com.uphone.kingmall.activity.personal;

import androidx.fragment.app.Fragment;

import com.uphone.kingmall.base.BaseTabActivity0;
import com.uphone.kingmall.fragment.MineHaggleFragment;
import com.uphone.kingmall.utils.MyUrl;

/**
 * <pre>
 *     author : radish
 *     e-mail : 15703379121@163.com
 *     time   : 2019/3/19
 *     desc   :
 * </pre>
 */
public class MineHaggleActivity extends BaseTabActivity0 {

    @Override
    protected String initTitle() {
        return "我的砍价";
    }

    @Override
    protected Fragment[] getFragmentList() {
        return new Fragment[]{MineHaggleFragment.newInstance(MyUrl.launchedHaggles), MineHaggleFragment.newInstance(MyUrl.helpedHaggles)};
    }

    @Override
    protected String[] getItems() {
        return new String[]{"我发起的", "我参与的"};
    }

//    @Override
//    protected Fragment[] getFragments() {
//        return new Fragment[]{MineHaggleFragment.newInstance(MyUrl.launchedHaggles), MineHaggleFragment.newInstance(MyUrl.helpedHaggles)};
//    }
//
//    @Override
//    protected String[] getTitles() {
//        return new String[]{"我发起的", "我参与的"};
//    }
}
